Bounds on the error of fejer and Clenshaw-Curtis type quadrature for analytic functions