Near-IR spectroscopic measurement of seawater salinity