Structural, magnetic, and electrical properties of sol–gel derived cobalt ferrite nanoparticles