An Active Lifestyle Reinforces the Effect of a Healthy Diet on Cognitive Function: A Population-Based Longitudinal Study