Synthesis of η3-allyl-Pd complexes and subsequent formation of N-heterocycles via the reaction of a cyclometallated compound with conjugated dienes