Learning Autonomous Underwater Navigation with Bearing-Only Data