Demography and its effects on genomic variation in crop domestication