TG-FTIR and thermodynamic analysis of the herb residue pyrolysis with in-situ CO2 capture using CaO catalyst