Design and testing of an ankle-foot prosthesis and a hip exoskeleton to improve balance-related outcomes and prevent falls