Anharmonic suppression of charge density waves in 2H-NbS 2