Attachment coefficient measurements in carbon dioxide, carbon monoxide, air and helium-oxygen mixtures