Association of depression phenotypes and antidepressant treatment with mortality due to cancer and other causes: a community-based cohort study