Metagenomic analysis shows functional metabolic changes linked to greenhouse gas emissions in legume-vegetable crop rotations.