Stage dependence of phonons in misfit layer compounds (MS)(NbS2)n (M Sn,Pb; n = 1,2)