The food industry is “failing the public” and must do more, England’s chief medical officer says.