Determination of carbon dioxide and titratable base in sea water