Synthesis of lactones using substituted benzoic anhydride as a coupling reagent