The mechanisms of the rearrangements of allylic hydroperoxides: 5α-hydroperoxy-3β-hydroxycholest-6-ene and 7α-hydroperoxy-3β-hydroxycholest-5-ene