Effect of surgery on liver function in patients with liver cancer.