Chemo-, regio- and stereoselective Heck arylation of allylated malonates: mechanistic insights by ESI-MS and synthetic application toward 5-arylmethyl-γ-lactones.