Islamic State claimed responsibility for a car bomb attack in the Syrian city of Qamishli which it said had targeted Kurdish militants.