Galaxy evolution in groups and clusters: star formation rates, red sequence fractions and the persistent bimodality