What makes one person a cocaine addict while another can take or leave the drug? The answer is partly down to genes, according to researchers.