Regulation of waste-derived hierarchically porous carbon for optimizing the sulfur cathode host of Li S batteries