Use of substances as emulsifying, wetting, dispersing or foam-producing agents