An original way to prepare nitride-type compounds from sulfide precursors