Male crickets who guarded their mates against predators gained mating opportunities and offspring. Sophie Bushwick reports