Semigroups of composition operators on spaces of analytic functions