Molecular dynamics simulation of thermodiffusion and mass diffusion in structureless and atomistic micropores