Defect ordering in early transition-metal sulfides with the NaCl-type structure