Altered gastric and duodenal motility in intestinal obstruction