Predator–prey cycles with period shifts between two-and three-species systems