Understanding changes in cellulose crystalline structure of lignocellulosic biomass during ionic liquid pretreatment by XRD.