Preparation of thioamides from alkynethiolates and amines