Effect of oxygen on thermal behaviors and kinetic characteristics of biomass during slow and flash pyrolysis processes