Turkish officials say NATO defence systems have intercepted a ballistic missile launched from Iran before it could enter the country's airspace.