Mating and immunity in invertebrates.