On the proportional abundance of species: Integrating population genetics and community ecology