Modeling and prediction of devolatilization and elemental composition of wood during mild pyrolysis in a pilot-scale reactor