Experimental and theoretical studies for sequential detection of copper(II) and cysteine by a colorimetric chemosensor