A matricial extension of the Helson-Sarason theorem and a characterization of some multivariate linearly completely regular processes