Comparative evaluation of magnetic resonance cholangiopancreatography and endoscopic retrograde cholangiopancreatography in pancreatitis