Fatah, Hamas agree on prisoner swap deal as Cairo talks start