Natural transformations of tensor algebras and representations of combinatorial groups