Immunomodulatory potential of flavonoids for the treatment of autoimmune diseases and tumour