Pattern recognition of toxic metal ions using a single-probe thiocoumarin array.