Catalytic decomposition of diazo compounds by metal salts