Israel to release two prisoners - one of whom was convicted of spying for Syria - as part of a deal brokered by Russia.