Evolution of rough-surface geometry and crystalline structures of aligned TiO2 nanotubes for photoelectrochemical water splitting