The structural, magnetic, and optical properties of Ni–Mg–Zn ferrite prepared with different complexing agents via sol–gel method