Ultrasmall titania nanocrystals and their direct assembly into mesoporous structures showing fast lithium insertion.