pH-switchable porphyrin receptor for binding halide ions