Effect of hepatitis B and C virus infections on the natural history of compensated cirrhosis: a cohort study of 297 patients