The Chemical Potential of Water in Soils and Sediments