Genetic analysis of the transition from wild to domesticated cotton (G. hirsutum L.)