A facile synthesis tool of nanoporous carbon for promising H2, CO2, and CH4 sorption capacity and selective gas separation