Characteristics of NiO–AZO thin films deposited by magnetron co-sputtering in an O2 atmosphere