Influence of molecular shape on self-diffusion under severe confinement: A molecular dynamics study