Photochemical rearrangements of indazoles. Triplet excited states of 1- and 2-methylindazole