Development of polystyrene adsorbents functionalized with heterocyclic ligands for selective adsorption of CO 2 from CH 4 and N 2