More than a dozen Ukrainian soldiers held by pro-Russian separatists have been released as part of a prisoner exchange.