Comparison of endoscopic retrograde cholangiopancreatography with MR cholangiopancreatography in patients with pancreatitis.