Patients’ preferences for telemedicine versus in-clinic consultation in primary care during the COVID-19 pandemic