Russia says it has handed over the remains of 1,000 soldiers to Ukraine and has received the bodies of 35 Russian soldiers in return.