Study of methane and carbon dioxide adsorption capacity by synthetic nanoporous carbon based on pyrogallol-formaldehyde