Characterization of microstructure and magnetic properties for Co2+ ions doped MgFe2O4 spinel ferrites