Thermodynamics of surfactant solutions and hydrophobic effect