Preparation of cellulose esters of inorganic acids