An Artificial Intelligence-Based Framework for Predicting Emergency Department Overcrowding: Development and Evaluation Study