Study on the influence of pretreatment and chain length of substituents on cellulose mixed esters