Intrinsic structural defects of transition metal dichalcogenides