Preparation and characterization studies of nanostructured nickel oxide and lithium doped nickel oxide thin films