Shaping single-walled metal oxide nanotubes from precursors of controlled curvature.