what happen to a magnet if you heat it too much?