N, O-codoped hierarchical porous carbons derived from algae for high-capacity supercapacitors and battery anodes | Synapse