Role of the surfactant headgroup on the counterion specificity in the micelle-to-vesicle transition through salt addition.