Salinity assimilation using S(T) relationships: Part 1 theory.