Hamas, Fatah sign historic deal on unity government