Afghan border attack kills two soldiers in Pakistan