Synthesis of hydroxypyrazoles and 1-methyl-3-isoxazolones via haloform reactions