Intramolecular Inverse Electron-Demand [4 + 2] Cycloadditions of Ynamides with Pyrimidines: Scope and Density Functional Theory Insights.