Phase transitions in definite total spin states of two-component Fermi gases