Structure and function of voltage-gated sodium and calcium channels