Intraluminal measurement of distance in the colorectal region employing rigid and flexible endoscopes