A ratiometric electrochemical microsensor for monitoring chloride ions in vivo.