An anti-smoking pill called varenicline is set to be offered by the NHS.