Structural, photocatalytic, electromagnetic properties of rare-earth metal Gd-doped Mg nanoferrites synthesized by citrate gel auto-combustion method