Analytical calculation of slip flow in lattice boltzmann models with kinetic boundary conditions