Threshold dynamics and optimal control of an age-structured giving up smoking model. (October 2018)