Evaluation of acidity constants and preferential solvation in tetrahydrofuran–water mixtures