S&P downgrades Ukraine