Robust Automatic Ship Tracking in Harbours using Active Cameras