Lattice model of microemulsions.