Two modes of host–enemy coevolution