Protective Effect of Flavonoids against Aging- and Lipopolysaccharide-Induced Cognitive Impairment in Mice