Operando NMR spectroscopic analysis of proton transfer in heterogeneous photocatalytic reactions