Factors associated with discharge against medical advice from an inpatient alcohol and drug detoxification unit in Barcelona during 1993-2006