Molecular diffusion and slip boundary conditions at smooth surfaces with periodic and random nanoscale textures.