Competitive thermal ene reaction and Diels–Alder reactions of 2-[N-(alk-2-enyl)benzylamino]-3-vinylpyrido[1,2-a]pyrimidin-4(4H)-ones