Dynamic networks in dominant ants: how flexible are they in response to environmental change