On the Stability of Trigonometric Functional Equations