Text this: Structural, magnetic and dielectric properties of magnesium doped nickel ferrite nanoparticles