Three Essays on the Relationship Between Social Ties and Mental Health