Environment-driven Distributed Evolutionary Adaptation for Collective Robotic Systems