Nearly half of the heavy smokers who were admitted to hospital after a heart attack had successfully quit smoking six months after being given the drug varenicline.