Estimation of Upper-Limb Joint Torques in Static and Dynamic Phases for Lifting Tasks