A Ukrainian prisoner of war was executed with a sword inscribed with the words “for Kursk”, according to officials in Kyiv.