Study on EEG and visual function in cirrhosis and hepatic encephalopathy