Diffusion problem of a creeping gas. I. Calculation of distribution functions of a molecular gas in the knudsen layer