Retirement and cognitive decline. A longitudinal analysis using SHARE data