A biomechanical model for optimal postures in manual lifting tasks