A statistical method for the measurement of muscle activation intervals from surface myoelectric signal during gait