Error bounds for Gauss-Kronrod quadrature formulae of analytic functions