Enhancement in structural, morphological, and optical properties of copper oxide for optoelectronic device applications