Companies Are Getting More Confident About Profits. What It Means for Stocks.