Learning Stable Dynamical Systems for Visual Servoing