Diabetes in chronic alcoholic pancreatitis: role of the residual cell function and insulin resistance.