Diels–Alder Polar Reactions of Azaheterocycles: A Theoretical and Experimental Study