Rearrangements in heterocyclic synthesis. 2. Novel transformations of 2-aminonicotinonitrile and anthranilonitrile