Pakistan and Afghanistan sign intelligence sharing deal