An efficient chemoselective synthesis of nitriles from primary amides