how is gold refined and processed