Gravar-mail: Habitat and social factors shape individual decisions and emergent group structure during baboon collective movement