Synthesis of polycyclic compounds: thionaphthalenium and thiaphenanthrenium perchlorates and derived cationoid dyes and thiacoumarins