Discouraging soda drinking has been a public-health aim for decades. But the beverage is still embedded in American life.