Engineering of morphological, optical, structural, photocatalytic and catalytic properties of nanostructured CuO thin films fabricated by reactive DC magnetron sputtering