Model for devolatilization of coal particles in fluidized beds