An optimization approach to determine manual lifting motion