Israel and Hamas blame each other for ceasefire delays as agreement nears