Prognostic indicators of survival in patients with compensated and decompensated cirrhosis