Risk-mitigating effect of ESG on momentum portfolios