Correlations between catalytic reactions of diazo compounds and stoichiometric reactions of transition-metal carbenes with alkenes. Mechanism of the cyclopropanation reaction