Tensor Train for Global Optimization Problems in Robotics