Rapid functional divergence of grass duplicate genes