Effect of duration of ampullary gallstone obstruction on severity of lesions of acute pancreatitis.