Pre-COVID-19 pandemic health-related behaviours in children (2018–2020) and association with being tested for SARS-CoV-2 and testing positive for SARS-CoV-2 (2020–2021): a retrospective cohort study using survey data linked with routine health data in Wales, UK