Antagonistic species interaction drives selection for sex in a predator–prey system