Pak-India friendship linked to Kashmir solution: Ansari