Ruthenium-catalyzed cycloadditions of 1-haloalkynes with nitrile oxides and organic azides: synthesis of 4-haloisoxazoles and 5-halotriazoles.