How competition and predation shape patterns of waterhole use by herbivores in arid ecosystems