Producing ‘pH switches’ in biphasic water–CO2 systems