Acid-base equilibria in ternary water/methanol/dioxane solvent systems