Optimization of liquid–liquid extraction combined with either heterogeneous azeotropic distillation or extractive distillation processes to reduce energy consumption and carbon dioxide emissions