Computed tomography and magnetic resonance imaging in diagnosing hepatocellular carcinoma