In a cost-of-living crisis, eating enough fresh produce can be tough. But your pantry and freezer can help.