From Species To Genes: Ecological And Evolutionary Mechanisms Structuring Diversity In Space And Time