Intramolecular excited charge-transfer states in donor–acceptor derivatives of naphthalene and azanaphthalenes