How can firms' transition to a low-carbon economy affect the distance to default?