extracting metals from the earths crust