The stock market is looking a lot like it did before the dot-com and ’08 crashes, top economist says