Reaction of thiocarboxylic acids with conjugated azoalkenes