Theoretical Study of the Mechanism of Catalytic Enanteoselective N-H and O-H Insertion Reactions