Preparation of cellulose esters of organic acids