Prognostic factors of survival in patients with advanced cancer admitted to home care