Effect of magnesium substitution on dielectric and magnetic properties of Ni-Zn ferrite