process of mineral processing and refining gold