Resilience of people with chronic medical conditions during the COVID-19 pandemic: a 1-year longitudinal prospective survey