Magnetic, dielectric and nonlinear optical absorption studies of nickel–zinc ferrite with Mg2+ doping