chemical processes used in the extraction of gold