Uncertainty estimation of potentiometrically measured pH and pKa values