relationship between salinity and density