Effects of Cu doping on the structural, photoluminescence and impedance spectroscopy of CoS2 thin films