Multiple-equilibrium model for the micellization of ionic surfactants in nonaqueous solvents