Practical Method for Solving Quadratic Optimal Control Problem: Direct Solution Using Generalized Laguerre Polynomials