A genetically-encoded chloride and pH sensor for dissociating ion dynamics in the nervous system