Pyrolyzed chitosan-based materials for CO2/CH4 separation