Experimental and DFT studies of WO3–CuO p-n heterojunctions for enhanced photoelectrochemical performance