Novel Quinoline-Based Thiazole Derivatives for Selective Detection of Fe3+, Fe2+, and Cu2+ Ions