Studies on Electrical and Magnetic Properties of Mg-Substituted Nickel Ferrites