A sharp Remez inequality for trigonometric polynomials