Cooperative prey herding based on diffusion adaptation