Habitat use and resource availability in baboons