S&P upgrades Turkey's outlook to 'stable'