Formation, structure, and stability of titanate nanotubes and their proton conductivity.