S&P downgrades France's credit rating