Polyesters bearing pendant anthryl and pyrenyl groups from thioesters of dicarboxylic acids