Carbons in energy storage and conversion