Toshiba dives on nuclear woes, S&P warns over rating