A musculoskeletal lumbar and thoracic model for calculation of joint kinetics in the spine