how to extract a metal from its oxide