how to invest for stock market crash