Transition from anodic titania nanotubes to nanowires: arising from nanotube growth to application in dye-sensitized solar cells.