magnesium metal and iron ii nitrate undergo a single replacement reaction