how is iron purified from its ore