Social adaptation of robots for modulating self-organization in animal societies