A proactive–reactive syndrome affects group success in an ant species