England's Chief Medical Officer has said a "sugar tax" may be needed in the UK if voluntary measures by the industry fail to tackle the rising problem of obesity.