Effect of nanopore confinement on the thermal and structural properties of heneicosan