A top economist says the stock-market mania reminds him of the dot-com and housing bubbles – and warns consumers are feeling the squeeze