Molecular determinants of voltage-dependent inactivation in calcium channels