ReactNMR and ReactIR as reaction monitoring and mechanistic elucidation tools: the NCS mediated cascade reaction of α-thioamides to α-thio-β-chloroacrylamides.