Keeping carbon in the ground can cut emissions and boost food security, study finds