Density-dependent selection incorporating intraspecific competition. II. A diploid model.