Magnetic behavior of nanosized cupric oxide