Structural changes of waste biomass induced by alkaline treatment: the effect on crystallinity and thermal properties