Automatic time series modeling, intervention analysis, and effective forecasting