The top medical adviser to the UK government is weighing up whether to recommend a tax on unhealthy food as part of a fresh push to tackle obesity.