An exact linear solution of the problem of absolute orientation