Coupling quadrature and continuous Runge–Kutta methods for optimal control problems