Why does a thermometer need to be heated before placing it in solutions?