Dependence of cell-type proportioning and sorting on cell cycle phase in Dictyostelium discoideum.