Three Israeli captives have been released in Gaza as part of the ceasefire deal.