Synthesis and characterization of Pure and Cobalt-doped NiO Nanoparticles