Correlation between catalytic cyclopropanation and ylide generation