Endoscopic capsule robot-based diagnosis, navigation and localization in the gastrointestinal tract