A quadrature formula for entire functions of exponential type