Did social factors buffer against the effect of adversities on self-harm during the COVID-19 pandemic? A longitudinal analysis of 49,227 UK adults