how is iron purified from its ores