Magnetic-visual sensor fusion-based dense 3d reconstruction and localization for endoscopic capsule robots