Thermodynamic properties and aggregate formation of surfactant-like molecules from theory and simulation.