The effect of structural modifications on the hydrophile—lipophile balance of ionic surfactants