Properties of NiO thin films deposited by intermittent spray pyrolysis process