Acidity constants of aromatic carboxylic acids in the S1 state