A mechanism for CO regulation of ion channels