A mathematical model of national-level food system sustainability.