Nanoporous carbons through direct carbonization of a zeolitic imidazolate framework for supercapacitor electrodes.