On the behavior of modified TiO2 nanotubes for a photoanode-driven photoelectrochemical reduction of CO2