A nonlinear ergodic theorem for asymptotically nonexpansive mappings