An endoscope is employed by a physician to view the internal parts of a body organ. It is based on the principle of