A methodology for the optimization of multi-stage abatement of acid pollutants in waste-to-energy plants