Ergodic properties of composition operators on Banach spaces of analytic functions