Morphology and gas sensing characteristics of density-controlled CuO nanostructures obtained by varying the oxygen partial pressure during growth