Population Structure and Mating Dynamics in the Social Amoeba Dictyostelium discoideum