Karzai offers mediation to ease Pak-Afghan tensions