Metal mining and the environment