S&P affirms Turkey's credit rating