Reactions of carboxylic acids with phosphonium anhydrides