Sources: Israel and Hamas are open to a ceasefire and prisoner exchange