Forecasting Political and Economic Crisis: Social Science Meets Machine Learning