The devolatilization of coal and a comparison of chars produced in oxidizing and inert atmospheres in fluidized beds