β-ketothioamides: efficient reagents in the synthesis of heterocycles.