Genetic structure and domestication history of the grape