Educational level as a protective factor against the influence of depressive symptoms on cognition in older adults: implications for functional independence during a 10-year follow-up