A molecular dynamics simulation study on nematic-isotropic phase transition of rod-like molecules in NpT ensemble