Pyrazines or piperazines ortho- and peri-condensed with carbocyclic ring systems