Effects of body size and sociality on the anti‐predator behaviour of foraging bees