Russia and Ukraine say they have each exchanged 150 prisoners of war after mediation from the United Arab Emirates.