Vertex algebras and the class algebras of wreath products