The prisoners and hostages are being released in the first phase of a long-awaited ceasefire deal between Israel and Hamas.