Synthesis of a hierarchical nanoporous carbon material with controllable pore size and effective surface area for high-performance electrochemical capacitors