The evolution of addiction: a case study of nicotine dependence