Generalist and specialist predators that mediate permanence in ecological communities