factors controlling salinity