3D carbon-based materials for energy storage