The relative impact of waiting time and treatment entry on drug and alcohol use