Formation and mechanistic study of self-ordered TiO2 nanotubes on Ti substrate