One-step synthesis of nitrogen and sulfur co-doped hierarchical porous carbon derived from acesulfame potassium as a dual-function agent for supercapacitors and lithium‑sulfur batteries