Distributed Colony-Level Algorithm Switching for Robot Swarm Foraging