Ratiometric nanomolar detection of Cu2+ ions in mixed aqueous media: a Cu2+/Li+ ions switchable allosteric system based on thiacalix[4]crown.