An iris diaphragm mechanism to gate a cyclic nucleotide-gated ion channel