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