Dyes with amino groups substituted by heterocyclic radicals