The mediation role of sleep quality in the relationship between cognitive decline and depression