Convergence rate of spetral semi-Galerkin approximations of the equations of a liquid crystal