In situ pH determination based on the NMR analysis of ¹H-NMR signal intensities and ¹⁹F-NMR chemical shifts