Ring conversion of 2-amino-4,5-dihydro-3-furancarbonitriles catalyzed by halide ions