Influence of acids and alkalis on transglycosylation and β-elimination pathway kinetics during cellulose pyrolysis