The regioselectivity in the formation of pyrazolines and pyrazoles from nitrile imines