A theoretical model for calculating voltage sensitivity of ion channels and the application on Kv1.2 potassium channel.