How Linkage Disequilibrium and Recombination Shape Genetic Variation Within and Between Species