Model predicts deterioration of hospitalized patients with cancer