Effect of magnesium on relaxation frequency of Ni-Zn nanoferrites