On a multi-dimensional generalization of the notions of orthostochastic and unistochastic matrices