S&P downgrades top US banks' credit ratings