Divergent syntheses of 2-aminonicotinonitriles and pyrazolines by copper-catalyzed cyclization of oxime ester.