Molecular dynamics simulations of crystallization under confinement at triple point conditions