Structural, magnetic, and dielectric properties of multiferroic Co 1-x Mg x Cr 2 O 4 nanoparticles