Luminescence of flavonoid compounds