Light-induced reversible pH change