Molecular dynamics and morphology of confined 4-heptyl-4′-isothiocyanatobiphenyl liquid crystals