Structure and function of voltage-gated ion channels