The Fed’s war on inflation is hitting the profits of S&P 500 firms, Goldman Sachs says