Mating behavior and the evolution of sperm design