Structural Study of Flavonoids and Their Protonated Forms