Nitrogen-containing nanoporous carbon derived from ethylenediamine tetraacetate magnesium and the electrochemical enhancement by the addition of Mg(OH)2