Synthesis of nitrogen-rich nanoporous carbon materials with C3N-type from ZIF-8 for methanol adsorption