Hydrothermal synthesis of anatase and brookite nanotubes with superior photocatalytic and Li+ insertion/extraction performances