2 soldiers injured in Pakistan-Afghanistan border attack