Individual exploration and selective social learning: balancing exploration–exploitation trade-offs in collective foraging