Convex polynomial and spline approximation in C[−1, 1]