Biosynthesis of MgFe2O4 magnetic nanoparticles and its application in photo-degradation of malachite green dye and kinetic study