Smoking could cause almost 300,000 cancer cases in the UK over the next five years, according to new analysis.