Effect of reaction time on the morphological, compositional, and optical properties of nickel ferrite films