Seoul accused Kyiv of breaking confidence after Ukraine said two captured North Korean soldiers had been transferred to South Korea.