A car bomb on the outskirts of a northern Syrian city has killed at least 19 people and left more than a dozen wounded, hospital workers say.