Determination of co2 in water by titration