On the thermal degradation of cellulose in cotton fibers