A cell-surface-anchored ratiometric fluorescent probe for extracellular pH sensing.