One-pot synthesis of MgFe2O4 nanospheres by solvothermal method