Colorimetric and fluorescent “on–off” chemosensor for Cu2+ in semi-aqueous medium