Structural, Microstructural, and Magnetic Studies on Magnesium (Mg2+)-Substituted CoFe2O4 Nanoparticles