Terrain Cost Learning from Human Preferences for Robot Path Planning Using a Visual User Interface