Farmers have to apply heaps of emissions-heavy fertilizer to provide crops with enough nitrogen. Scientists are looking to legumes for help.