Heterocyclic compounds containing pteridine ring systems