Surface morphology, optical, and electrochromic properties of nanostructured nickel ferrite (NiFe2O4) prepared by sol–gel method: effects of Ni/Fe molar ratios