Representations of the Schrödinger group and matrix orthogonal polynomials