Convexity preserving C2 rational quadratic trigonometric spline