Indication of the extent of hepatectomy for hepatocellular carcinoma on cirrhosis by a simple algorithm based on preoperative variables