Electronic properties of single‐layer and multilayer transition metal dichalcogenides MX2 (M = Mo, W and X = S, Se)