The nonlinear equation of state of sea water and the global water mass distribution