What the 1987 stock market crash foretold