Factors predicting substance dependence and psychotropic medication use among offenders in community corrections.