A model approach to the thermodynamics of microemulsion systems: Estimation of adequacy of the two-phase model of microemulsions