Dyes with an anthracene nucleus condensed with one or more heterocyclic rings with or without carbocyclic rings