Russia and Ukraine have ended the year with a gesture of goodwill with both countries participating in a major prisoner swap.