Plasticity of social organization in a forest ant species