Media can be effective tool in fostering friendly ties between Pakistan, Afghanistan: Pervaiz