Structure and electrochemical performance of highly nanoporous carbons from benzoate–metal complexes by a template carbonization method for supercapacitor application