The transition to self-compatibility in Arabidopsis thaliana and evolution within S-haplotypes over 10 Myr.