Islamic State fighters capture towns and villages near Syria’s northern border with Turkey from rival fighters.