Afghanistan says Pakistani shelling risks "negative consequences"