Diversification can be the difference between a temporary setback and a lost decade when bubbles burst