Endoscopic therapy of acute and chronic pancreatitis