Diagnosis of physical and mental health conditions in primary care during the COVID-19 pandemic: a retrospective cohort study | Synapse