Novel properties of transition metal dichalcogenides monolayers and nanoribbons (MX2, where M = Cr, Mo, W and X = S, Se): A spin resolved study