Generic medication use can help trim costs for chronically ill patients