Health-related factors of psychological distress during the COVID-19 pandemic among non-health workers in Spain