High-temperature stability, pyrolysis kinetics and mechanism between bio-based and petro-based resins using TG-FTIR/MS