Text this: Spectral tau algorithm for solving a class of fractional optimal control problems via Jacobi polynomials