Transient heating of coal particles undergoing pyrolysis