Mean ergodic semigroups of operators