The S&P 500 has entered a bull market. Here’s what history says will happen next