Effect of Ti4+ ions on the magnetic and dielectric properties of Mg-ferrite