Halogenation of N-oxygenated pyrazoles. Preparation of N-oxygenated 4-halopyrazole and 4,4-dihalo-4H-pyrazole derivatives