Density functional study on intramolecular dehydro Diels–Alder reactions of conjugated enynes