Contrasting risk patterns from humans and a large carnivore influence the habitat selection of shared prey