Pd(0)-catalyzed cross-coupling of allyl halides with α-diazocarbonyl compounds or N-mesylhydrazones: synthesis of 1,3-diene compounds.