Parametric survival analysis for gating kinetics of single potassium channels