Noninvasive methods to assess liver disease in patients with hepatitis B or C