Synthesis and antiviral activities of a novel class of thioflavone and flavonoid analogues