Computational study of non-conductive selectivity filter conformations and C-type inactivation in a voltage-dependent potassium channel