Photocatalytic degradation of methylene blue on magnetically separable MgFe2O4 under visible light irradiation