Synthesis and Characterization of Core–Shell NiFe2O4@MgFe2O4 and ZnFe2O4@MgFe2O4 Nanoferrites