Combining chest X-rays and EHR data using machine learning to diagnose acute respiratory failure