Effect of the molar ratio of (Ni2+ and Fe3+) on the magnetic, optical and antibacterial properties of ternary metal oxide CdO–NiO–Fe2O3 nanocomposites