A consistent reaction mechanism and model for the combustion and gasification of coal and biomass, and the co-firing thereof