Thermodynamical and statistical considerations on some microemulsion phenomena