S&P threatens European downgrade