Photocatalytic dye degradation with copper–titanium dioxide nanocomposites under sunlight and visible light irradiation