Correlation of imaging and function in chronic pancreatitis.