How Ukraine has turned the tide on Putin