Mental health of individuals infected with SARS-CoV-2 during mandated isolation and compliance with recommendations—A population-based cohort study