S&P downgrades Greece's credit rating