Genetic diversity is important in populations because