Preparation and characterization of nebulized spray pyrolyzed nickel oxide and copper doped nickel oxide thin films for smart window devices