S&P lowers Turkey's rating but outlook stable