Association between thyroid function and assessment of hepatic fat and iron contents by magnetic resonance imaging