Effects of potassium incorporation on the structural, optical, vibrational and electrical properties of NiO sprayed thin films for p-type optical windows