US-licensed pilot tells New York court how he flew for bin Laden