how is cyanide used to extract gold from