Predicting overflow in an emergency department