Reactivity of layer type transition metal chalcogenides towards oxidation