Prediction of the pKa of carboxylic acids using the ab initio continuum-solvation model PCM-UAHF .