Structural and functional modularity of voltage-gated potassium channels