Equilibrium isotherms and isosteric heat for CO2 adsorption on nanoporous carbons from polymers