Environmental aspects of oil refining