Infrared band gap at the metal-nonmetal transition in NiS