Phase diagram of a two-component Fermi gas with resonant interactions