Ionic Liquid–Catalyzed Internal Redox Esterification Reaction