The mechanism of cobalamin-dependent rearrangements