Metapopulation structures affect persistence of predator–prey interactions