major steps in the process of mining and refining gold