Stock-market crashes and depressions