how is iron extracted and purified