3D Colon Segment and Endoscope Motion Reconstruction from Colonoscopy Video