S&P Global Ratings downgrades Walgreens, citing struggles in both pharmacy and retail