Walking mode classification through myoelectric and inertial sensors for transtibial amputees