Theoretical investigation of nitrogen-containing polyisothianaphthene derivatives