Fatah, Hamas agree to hold Palestinian elections soon