Density-dependent mortality and the latitudinal gradient in species diversity