Molecular dynamics simulation of carbon peapod-like nanomaterials in desalination process