Preparation of carboxylic acid anhydrides by reactions not involving carboxylic acid anhydride groups