Characterization of an optical copper sensor based on N,N'-bis(salycilidene)-1,2-phenylenediamine