chemicals in extracting gold from ore