Nanoporous carbons prepared with ZIF-8 as a template and activation agent for supercapacitors