Chebyshev Polynomials and Spectral Method for Optimal Control Problem