Dissociation equilibria of protonated hydroxybenzamides and alkoxybenzamides: water as a reactant