Production of second-generation ethanol and carboxymethylcellulose from sugarcane bagasse pretreated with low-cost ionic liquids