Relationship of genetic variation to population size in wildlife