Convergence rates for trigonometric and polynomial-trigonometric regression estimators