In Situ Raman Investigation of TiO2 Nanotube Array-Based Ultraviolet Photodetectors: Effects of Nanotube Length