Effect of inflammation and anesthesia on brain-derived neurotrophic factor and cognition