Cardiorespiratory fitness and cognitive function in middle age