High-rate lithium–sulfur batteries enabled by hierarchical porous carbons synthesized via ice templation