A molecular basis for natural selection at the timeless locus in Drosophila melanogaster