Explicit solution of the polynomial least-squares approximation problem on Chebyshev extrema nodes