A binding-site model for calcium channel inactivation that depends on calcium entry