Here's what history tells us about today's sky-high valuations—and how worried investors should be now.