Cross interpolation of high-dimensional arrays in tensor train format