Thermal analysis of biomass and corresponding pyrolysis products