Inter- and Intramolecular Diels—Alder Reactions of Sugar Derivatives