Investigation of optical, electronic, and magnetic properties of p-type NiO thin film on different substrates