Age, severe comorbidity and functional impairment independently contribute to poor survival in cancer patients