Multicomponent dynamical systems: SRB measures and phase transitions