Russia and Ukraine have exchanged prisoners of war in the latest such swap that saw the release of hundreds of captives.