how to refine gold from quartz bearing ore