Detecting Mental Disorders with Wearables: A Large Cohort Study