The effects of poor sleep quality on cognitive function of patients with cirrhosis.