Pakistani soldiers killed in Afghan border attack