Reactions of diazomethane on transition-metal surfaces and their relationship to the mechanism of the Fischer-Tropsch reaction