Reconfigurable four-component molecular switch based on pH-controlled guest swapping.