environmental considerations when refining mining and recycling rare earths