The influence of social network on depressive and anxiety symptoms during the COVID-19 pandemic: findings from a Swedish cohort study