Investigation of biomass pyrolysis by thermogravimetric analysis and differential scanning calorimetry