how is gold ore purified