One-step synthesis of SnO2 and TiO2 hollow nanostructures with various shapes and their enhanced lithium storage properties.