A two-dimensional chromogenic sensor as well as fluorescence inverter: selective detection of copper(II) in aqueous medium