S&P affirms ‘AA+’ credit rating for US, cites impact of tariff revenue