Switchable and selective detection of Zn2+ or Cd2+ in living cells based on 3'-O-substituted arrangement of benzoxazole-derived fluorescent probes.