Statistical Thermodynamics of Amphiphile Self-Assembly: Structure and Phase Transitions in Micellar Solutions