reactions involved in extraction of gold