Gating movements and ion permeation in {HCN}4 pacemaker channels