Physical activity partly mediates the association between cognitive function and depressive symptoms