The effects of prescribing varenicline on two-year health outcomes: an observational cohort study using electronic medical records