Molecular modeling of freezing of simple fluids confined within carbon nanotubes.