Phase diagram of a lattice microemulsion model