What is the effect of temperature and density on the movement of water?