Imatinib intermediate as a two in one dual channel sensor for the recognition of Cu²⁺ and I⁻ ions in aqueous media and its practical applications.