Effect of Cu-doping on the photoluminescence and photoconductivity of template synthesized CdS nanowires