President Vladimir Putin says Russia has used an experimental intermediate-range ballistic missile in a strike on Ukraine for the first time.