Orthogonal matrix polynomials satisfying second-order differential equations