The density of seawater is primarily a function of: