Identifying subtypes of depression in clinician-annotated text: a retrospective cohort study