Firms with good ESG practices more resilient during pandemi