Dynamics of voltage-gated ion channels in cell membranes by the path probability method