TiO2 Nanotubes with Tunable Morphology, Diameter, and Length: Synthesis and Photo-Electrical/Catalytic Performance