Text this: Associations between the structural and functional aspects of social relations and poor mental health: a cross-sectional register study