Hamas, Fatah differ over attitude to agreements