Saudi Arabia has intercepted what it says is a ballistic missile fired from Yemen - towards its capital Riyadh.