Off-duty pilot takes over plane after captain becomes incapacitated mid-flight