Russia and Ukraine have carried out the largest prisoner exchange since the start of the war.