A rhodamine-based sensor for chromogenic detection of Cu2+ and fluorescent detection of Fe3+