Dimerization of 2-oxo-2-(het)arylethanethioamides by molecular iodine: a new method for the synthesis of 3,5-diacyl-1,2,4-thiadiazoles