Internal model-based control for loitering maneuvers of UAVs