S&P downgrades Greece credit rating