how long does drug detox take