Patterns of Cocaine Use During Treatment: Associations With Baseline Characteristics and Follow-Up Functioning.