Magnetic temperature sensors