Fatah, Hamas in unity govt 'understanding'