Reaction of Dicarbonates with Carboxylic Acids Catalyzed by Weak Lewis Acids: General Method for the Synthesis of Anhydrides and Esters