A simple automatic phototitrator for the determination of total carbonate and total alkalinity of sea water