Kinetic theory of hydrodynamic flows. II. The drag on a sphere and on a cylinder