Phase diagram and homogeneity gap in microemulsions