Collective atomic recoil lasing including friction and diffusion effects