Sulfur cathode based on layered carbon matrix for high-performance Li–S batteries