Some companies are asking investors to trim their interest costs on risky loans if they hit ESG targets