A Model of Dysfunctional Urges and Addiction with an Application to Cigarette Smoking