gold production and refining process