Medium-Ring Effects on the Endo/Exo Selectivity of the Organocatalytic Intramolecular Diels-Alder Reaction.