Study of structural and optical properties of cupric oxide nanoparticles