The role of the Ti surface roughness in the self-ordering of TiO2 nanotubes: a detailed study of the growth mechanism