Pakistan, Afghanistan to work together for return of refugees