Genetic diversity and natural selection