An Online Adaptation Method for Robust Depth Estimation and Visual Odometry in the Open World