A bifunctional rhodamine derivative as chemosensor for recognizing Cu2+ and Hg2+ ions via different spectra