Simulation of stand‐to‐sit biomechanics for design of lower‐limb exoskeletons and prostheses with energy regeneration