The interplay between chemistry and heat/mass transfer during the fast pyrolysis of cellulose