Design of nanostructured materials for advanced lithium ion batteries