Construction of a 1D Cu(I)-based coordination polymer as a luminescent sensor for antibiotics and a photocatalyst for dye degradation