Development of robotic lower-limb prosthetic and orthotic devices