The two United pilots are scheduled to appear in court in Scotland after being apprehended before a flight from Glasgow to Newark, New Jersey.