Economic and environmental impacts of emission mitigation in petroleum refineries