Reactions of diazoalkanes with transition metal complexes