A long-awaited ceasefire in Gaza has begun following a three-hour delay, after Hamas named the three female hostages it plans to free first.