Mechanisms of adaptation in Oryza and Arabidopsis