Ground state and phonon spectrum of NiSi2