The Berezin transform and operators on spaces of analytic functions