how iron ore is formed