Combined Raman and infrared investigation of the insulator-to-metal transition in NiS(2−x)Se(x) compounds