Fatah, Hamas Say Deal Reached on Palestinian Elections