Isocyanates and isothiocyanates as versatile platforms for accessing (thio)amide-type compounds