how is iron ore classified as magnetite or hematite