Genetics of ecological divergence during