Evaluation of factors predicting the benefit from systemic oncological treatment for severely ill hospitalized patients: a retrospective study