Coupling Vision and Proprioception for Navigation of Legged Robots