Confinement of sulfur species into heteroatom-doped, porous carbon container for high areal capacity cathode