Essential norms of integral operators on spaces of analytic functions