Cross-sectional and longitudinal association between antihypertensive medications and cognitive impairment in an elderly population.