Perspective on advanced nanomaterials used for energy storage and conversion