what happens to the density of a fluid when its heated?