Wetting and dispersing additive for solvent-borne and solvent-free pigment concentrates on the basis of epoxy resin