Stocks typically rise after a presidential election — but investors need to be prepared for some short-term choppiness first, history shows.