In situ light-driven pH modulation for NMR studies