Good food isn’t just good for the body — it might also curb hospital stays and health care costs for some patients with chronic conditions, according to new research.