Interaction of thioamides, selenoamides and amides with di-iodine: a study of the mechanism of action of anti-thyroid drugs