YouGov boss Steve Hatch has stepped down from the research firm after criticism of its performance by activist investors.