In situ fabrication of TiO2 nanotube arrays sensitized by Ag nanoparticles for enhanced photoelectrochemical performance