Families spend an average of $24,000 a year on college, but many don’t take advantage of federal tax credits and deductions to help lower the cost.