A Chebyshev-Gauss Pseudospectral Method for Solving Optimal Control Problems