Facile and eco-friendly route for green synthesis of magnesium ferrite nano particles