C terminus-mediated control of voltage and cAMP gating of hyperpolarization-activated cyclic nucleotide-gated channels