environmental aspects in smelting and refining