Companies are selling a record number of bonds with penalties attached if they fail to meet environmental and social targets,…