How does improved forecasting benefit detection? An application to biosurveillance