Statistical Mechanical Theory of the Coagel-Gel Phase Transition in Ionic Surfactant/Water Systems