Structural basis of Ca2+ selectivity of a voltage-gated calcium channel