Mass spectrometric detection of reactive intermediates. Reaction mechanism of diazoalkanes with platinum(0) and gold(I) complexes