The influence of risk perceptions on close contact frequency during the SARS-CoV-2 pandemic