Analysts have reacted with concern after UK pub group JD Wetherspoon said that both its chief operating officer and finance director were to leave the company.