Egyptian-brokered cease-fire takes effect in Gaza