what is the effect when a magnet is placed near iron or steel​