Structual and magnetic properties of MFe2O4 (M=Ni, Mg) nano hollow spheres