Thermodynamics, Structure, and Hydrodynamics of n-Alkanes Confined in Nanopores