Ratiometric detection of Hg2+ ions: an allosterically synchronized Hg2+/Li+ switch based on thiacalix[4]crown.