Synthesis and reactions of 1-(4-bromo-, 4-fluoro-, and 4-trifluoromethylphenyl)-6,6-dimethyl-4-oxo-4,5,6,7-tetrahydroindazoles