Mechanistic studies in organic photochemistry. IV. Mechanism of the photorearrangement of bicyclo[2.2.2]octadienones to tricyclo[3.3.0.0.2.8]octen-3-ones