Text this: Switchable bifunctional molecular recognition in water using a pH-responsive Endo-functionalized cavity