Cooperation, conflict and plasticity in insect societies.