Magnetic resonance imaging for the assessment of liver function