Online gait event detection using a large force platform embedded in a treadmill