2-Azabuta-1,3-diene-4-carbonitriles: stereoselective synthesis and nucleophilic substitution at the carbon–nitrogen double bond