A Russian military plane has brought Armenian captives to Yerevan as part of a swap with Azerbaijan.